package cn.itsource.crm.service;

import cn.itsource.crm.domain.Permission;

import java.util.List;
import java.util.Set;

public interface IPermissionService extends IBaseService<Permission>{

    Set<String> findPermissionssnsByLoginUser(Long id);

    List<Permission> findAllByRoleId(Long id);
}
